Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve shared configuration syncing. #110

Merged
merged 1 commit into from
May 24, 2024

Conversation

MikeMcQuaid
Copy link
Member

  • Improve code style to match brew style norms.
  • General code refactoring/cleanup.
  • Fail script on invalid parameters.
  • Provide custom handling for .rubocop.yml and .ruby-version from Homebrew/brew's repository. We want to match the RuboCop and (Portable) Ruby version (without revision) usage from there.
  • Ensure that this workflow is always tested (but PRs not created) when triggered by a pull request.
  • Check code style with brew style in CI.

@MikeMcQuaid MikeMcQuaid force-pushed the shared_config_improvements branch 4 times, most recently from 426da51 to c1c6f7f Compare May 24, 2024 08:51
- Improve code style to match `brew style` norms.
- General code refactoring/cleanup.
- Fail script on invalid parameters.
- Provide custom handling for `.rubocop.yml` and `.ruby-version` from
  Homebrew/brew's repository. We want to match the RuboCop and
  (Portable) Ruby version (without revision) usage from there.
- Ensure that this workflow is always tested (but PRs not created) when
  triggered by a pull request.
- Check code style with `brew style` in CI.
@MikeMcQuaid MikeMcQuaid merged commit eb0759d into master May 24, 2024
24 checks passed
@MikeMcQuaid MikeMcQuaid deleted the shared_config_improvements branch May 24, 2024 14:24
Comment on lines +7 to +11
Homebrew/MoveToExtendOS:
Enabled: true
Exclude:
- "{extend,test,requirements}/**/*"
- "os.rb"
Copy link
Member

@Bo98 Bo98 May 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of this is intentionally Homebrew/brew specific like this cop (we don't want to block if OS.mac? in formulae etc). Is this the correct file?

The ../rubocop.yml isn't correct for any repository AFAIK, since if we're targeting Library/.rubocop.yml it should be ../../.. for taps (and nothing for non-taps).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, not correct, see #111 to fix.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants